import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/pages/Home/index.vue';
import Demo from '@/pages/Demo/index.vue';

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Home',
      component: Home
    }, {
      path: '/demo',
      name: 'Demo',
      component: Demo
    },
  ]
})
